package com.yedean.mall.service;

import com.yedean.mall.pojo.User;
import io.swagger.models.auth.In;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
@SuppressWarnings("all")
public interface UserService {
    
    //根据id查询用户
    Mono<User> getUserById(int id);
    
    //查询所有用户
    Flux<User> getAllUser();
    
    //添加用户
    Mono<Void> saveUser(Mono<User> user);
    
    
}
